This means to kill someone slowly or to torture a person to death.
"Es peor a que te maten con cuchillo de palo."